package cn.zjjd.wlproject.hhx.demo.service;

import cn.zjjd.wlproject.hhx.demo.mapper.AdminMapper;
import cn.zjjd.wlproject.hhx.demo.pojo.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminService {
    @Autowired
    AdminMapper adminMapper;
    public Admin queryStudentList(Admin admin){
        return adminMapper.queryAdminLogin(admin);
    }
    public int addAdmin(Admin admin){
        return adminMapper.addAdmin(admin);
    }
}
